package jam;

import jam.network.*;
import jam.model.ClientModel;
import jam.UserInterface.UI.*;


public class ClientApplication implements Runnable {

    private NetworkController networkController;
	private UIController uiController;
    private ClientModel clientModel;
  
	
    public void run() {
		clientModel = new ClientModel();
        
		uiController = new UIController();
		uiController.run();

		networkController = new NetworkController(clientModel);
		networkController.run();
	}

	public ClientModel getClientModel() {
		return clientModel;
	}

	public void setClientModel(ClientModel model) {
		clientModel = model;
	}
}